//
//  MYWalletCell.m
//  reSearchDemo
//
//  Created by 科技 on 15/7/28.
//  Copyright (c) 2015年 Kiwaro. All rights reserved.
//

#import "MYWalletCell.h"

@implementation MYWalletCell

-(id)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        self.backgroundColor = [UIColor clearColor];
        self.contentView.layer.masksToBounds = YES;
        self.contentView.layer.cornerRadius = 1;
        self.contentView.layer.borderWidth = 0.5;
        self.contentView.layer.borderColor = [[UIColor lightGrayColor] CGColor];
        
        
        self.imgView = [[UIImageView alloc]initWithFrame:CGRectMake(30, 10, CGRectGetWidth(self.frame) - 60, 50)];
        self.imgView.backgroundColor = [UIColor groupTableViewBackgroundColor];
        [self addSubview:self.imgView];
        
        self.text = [[UILabel alloc]initWithFrame:CGRectMake(0, CGRectGetMaxY(self.imgView.frame), CGRectGetWidth(self.frame), 20)];
//        self.text.backgroundColor = [UIColor brownColor];
        self.text.textAlignment = NSTextAlignmentCenter;
        [self addSubview:self.text];
        
        self.Number = [[UILabel alloc] initWithFrame:CGRectMake(0, CGRectGetMaxY(self.text.frame), CGRectGetWidth(self.frame), 20)];
        self.Number.textColor = [UIColor lightGrayColor];
        self.Number.textAlignment = NSTextAlignmentCenter;
        [self addSubview:self.Number];
        
    }
    
    return self;
}

@end
